package com.xmall.order.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.xmall.define.base.BaseEntity;
import java.math.BigDecimal;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author xmall
 * @since 2023-11-19
 */
@Getter
@Setter
@TableName("order_item")
public class OrderItem extends BaseEntity {

    /**
     * 订单ID
     */
    private Long orderId;

    /**
     * skuID
     */
    private Long skuId;

    /**
     * sku标题
     */
    private String skuTitle;

    /**
     * sku组合
     */
    private String skuAttr;

    /**
     * 商品图片
     */
    private String skuImage;

    /**
     * 数量
     */
    private Integer quantity;

    /**
     * 单价
     */
    private BigDecimal price;

    /**
     * 总价
     */
    private BigDecimal totalAmount;

    /**
     * 售后状态（0可用 1不可用）
     */
    private Integer afterSaleStatus;
}
